<template>
	<view class="cu-form-group align-start">
		<view class="title" v-if="isShow">{{ title }}</view>
		<textarea maxlength="-1" :disabled="modalName!=null" @input="textareaBInput($event)" :placeholder="placeholder"></textarea>
	</view>
</template>

<script>
	export default {
		props:{
			isShow:{
				type: Boolean,
				default: true
			},
			title:'',
			placeholder:''
		},
		methods:{
			textareaBInput: function(e){
				this.$emit('textareaChanged',e.detail.value)
			}
		}
	}
</script>

<style>

</style>
